package com.antovita.militarymonkey.screens;

import com.antovita.militarymonkey.MyGdxGame;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputProcessor;

public abstract class Screen {
	
	public static final int WIDTH = Gdx.graphics.getWidth();
	public static final int HEIGHT = Gdx.graphics.getHeight();
	
	protected MyGdxGame gdxGame;
	protected InputProcessor input;
	
	public Screen(MyGdxGame gdxGame) {
		this.gdxGame = gdxGame;
		create();
	}
	
	public void setInput(){
		Gdx.input.setInputProcessor(input);
	}
	
	public abstract void create();
	public abstract void render();
}
